package com.lq.educationsystem.examination.service;

import com.lq.educationsystem.common.entiy.ClassesSubjectTb;
import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultPage;
import com.lq.educationsystem.common.vo.ExaminationPageVo;
import com.lq.educationsystem.common.vo.TeacherSubjectExaminationVo;
import com.lq.educationsystem.examination.entiy.ExaminationTb;

import java.util.List;

public interface ExaminationBaseService {
    void insertInfo(ExaminationTb examinationInfo);

    void deleteById(Integer examinationId);

    void updateInfo(ExaminationTb examinationInfo);

    Result queryById(Integer examinationId);

    ResultPage<ExaminationTb> queryList(ExaminationPageVo examinationPageVo);
    /**
     * 根据课程id查询数据
     * @param collectSubjectIdInfoList
     * @return
     */
    ResultPage<ExaminationTb> queryExaminationInfoBySubjectId(List<Integer> collectSubjectIdInfoList);


    /**
     * 根据考试信息和课程id 添加并且获取考试信息
     */
    Result<ExaminationTb> addExaminationInfoByExaminationInfoAndSubjectId(TeacherSubjectExaminationVo teacherSubjectExaminationVo);
}
